package com.djinfo.work.service;

import com.djinfo.work.common.bean.AjaxJson;
import com.djinfo.work.entity.QsUserEntity;

import java.util.HashMap;
import java.util.List;

/**
 * @date 2017-06-08 10:48:15
 */
public interface QsUserService {

	void saveOrUpdate(QsUserEntity object,String userId);
	HashMap<String ,Object> getPage(QsUserEntity object, Integer pageNum, Integer pageSize);
	public List<QsUserEntity> page(QsUserEntity object, Integer pageNum, Integer pageSize);
	public List<QsUserEntity> list(QsUserEntity object);
	public Integer getAllRowCount(QsUserEntity object);
	public void delete(QsUserEntity object);
	public QsUserEntity selectOne(QsUserEntity object);
	public QsUserEntity getById(String id);
	public void saveQsUserEntity(QsUserEntity qsUserEntity,String userId);



	//检查用户名是否注册过
	AjaxJson checkUsername(String username);
	//添加用户
	AjaxJson saveQsUser(QsUserEntity qsUserEntity);
	QsUserEntity login(QsUserEntity qsUserEntity);



}
